package SNSModule
{
	import Miscellaneous.GameInitParser;
	
	import PenguinsFarm.PenguinsFarmController;
	import PenguinsFarm.PenguinsFarmView;
	
	import XMFramework.Interface.IFramework;
	import XMFramework.Interface.IModule;

	public class ModulePenguinsFarm implements IModule
	{
		private var SNSCore : IFramework;
		
		private var command:PenguinsFarmController	=	new PenguinsFarmController();
		private var view:PenguinsFarmView			=	new PenguinsFarmView();
		
		public function ModulePenguinsFarm()
		{
		}
		
		public function onBroadcasting(target:Array, channelId : String, ...param):void
		{
		}
		
		public function onFrameworkStart() : void
		{
			SNSCore.registerArchitechture( this, ShareMacros.MODULE_PENGUINS_FARM, command, null, view );
		}
		
		public function set frameworkPtr( value : IFramework ) : void
		{
			SNSCore = value;
		}
		
		public function get frameworkPtr() : IFramework
		{
			return SNSCore;
		}
	}
}